#include "stdafx.h"
#include "OFile.h"

OFile::OFile(const std::string name) { file.open(name); }

bool OFile::isOpen() { return file.is_open(); }

void OFile::writeLine(const std::string line) { file << line << std::endl; }

OFile::~OFile() { file.close(); }
